package com.yanqu.road.entity.log.cross.daomu;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_c_activity_daomu_pvp_log_kill", autoSave = true, dataUpload = true, eventName = "tougold_pvpkill", uploadCk = true, desc = "盗墓-云顶之战击杀", isCross = true)
public class LogDaoMuPvpKill extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", dataAttribute = "activityid", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "轮次", dataAttribute = "round_id")
    private int round;

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "伙伴等级", dataAttribute = "level")
    private int level;

    // 死亡类型 1 玩家击杀 2怪物击杀 3毒圈 4 坍塌
    @FieldTypeAnnotation(desc = "死亡类型 1 玩家击杀 2怪物击杀 3毒圈 4 坍塌", dataAttribute = "change_type")
    private int type;

    // 杀他的玩家id
    @FieldTypeAnnotation(desc = "杀他的玩家id", dataAttribute = "other_id")
    private long killUserId;

    // 杀他的怪物id
    @FieldTypeAnnotation(desc = "杀他的怪物id", dataAttribute = "item_id")
    private int killMonsterId;

    @FieldTypeAnnotation(desc = "击杀者等级", dataAttribute = "after_level")
    private int killLevel;

    @FieldTypeAnnotation(desc = "被击杀掉落经验石", dataAttribute = "hotpot_exp")
    private int dropLevel;

    @FieldTypeAnnotation(desc = "addTime")
    private long addTime;

    public LogDaoMuPvpKill(int activityId, int round, long userId, int level, int type, long killUserId, int killMonsterId, int killLevel, int dropLevel, long addTime) {
        this.activityId = activityId;
        this.round = round;
        this.userId = userId;
        this.level = level;
        this.type = type;
        this.killUserId = killUserId;
        this.killMonsterId = killMonsterId;
        this.killLevel = killLevel;
        this.dropLevel = dropLevel;
        this.addTime = addTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getKillUserId() {
        return killUserId;
    }

    public void setKillUserId(long killUserId) {
        this.killUserId = killUserId;
    }

    public int getKillMonsterId() {
        return killMonsterId;
    }

    public void setKillMonsterId(int killMonsterId) {
        this.killMonsterId = killMonsterId;
    }

    public int getKillLevel() {
        return killLevel;
    }

    public void setKillLevel(int killLevel) {
        this.killLevel = killLevel;
    }

    public int getDropLevel() {
        return dropLevel;
    }

    public void setDropLevel(int dropLevel) {
        this.dropLevel = dropLevel;
    }

    public long getAddTime() {
        return addTime;
    }

    public void setAddTime(long addTime) {
        this.addTime = addTime;
    }
}
